unity photon base onenable

103

unity photon base onenable -

public override void OnEnable()
	{
		base.OnEnable();
		//your stuff here
	}

unity photon base onenable -

If you override OnEnable the callbacks are not registered, you have to call base.OnEnable(); in OnEnable.
So your code should look like this

Comments

Submit
0 Comments